package com.suke.czx.modules.wxadmin.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.suke.czx.modules.wxadmin.dao.DkReadPlanMsgNightDao;
import com.suke.czx.modules.wxadmin.entity.DkReadPlanMsgNightEntity;
import com.suke.czx.modules.wxadmin.service.DkReadPlanMsgNightService;



@Service("dkReadPlanMsgNightService")
public class DkReadPlanMsgNightServiceImpl implements DkReadPlanMsgNightService {
	@Autowired
	private DkReadPlanMsgNightDao dkReadPlanMsgNightDao;
	
	@Override
	public DkReadPlanMsgNightEntity queryObject(String id){
		return dkReadPlanMsgNightDao.queryObject(id);
	}
	
	@Override
	public List<DkReadPlanMsgNightEntity> queryList(Map<String, Object> map){
		return dkReadPlanMsgNightDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dkReadPlanMsgNightDao.queryTotal(map);
	}
	
	@Override
	public void save(DkReadPlanMsgNightEntity dkReadPlanMsgNight){
		dkReadPlanMsgNightDao.save(dkReadPlanMsgNight);
	}
	
	@Override
	public void update(DkReadPlanMsgNightEntity dkReadPlanMsgNight){
		dkReadPlanMsgNightDao.update(dkReadPlanMsgNight);
	}
	
	@Override
	public void delete(String id){
		dkReadPlanMsgNightDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dkReadPlanMsgNightDao.deleteBatch(ids);
	}
	@Override
	public void deleteAll() {
		dkReadPlanMsgNightDao.deleteAll();
	}

	@Override
	public void planedSave(String readDate) {
		dkReadPlanMsgNightDao.planedSave(readDate);
	}

	@Override
	public int updateSendStateBatch(Object[] id) {
		return dkReadPlanMsgNightDao.updateSendStateBatch(id);
	}
	
}
